import {createApp} from 'vue';
import App from './App.vue';
import router from './router';
import store from './store';
import ElementPlus from 'element-plus';
import 'element-plus/lib/theme-chalk/index.css';
import {Utils} from '@/utils';
import {httpClient} from './utils/request';
import contextmenu from 'v-contextmenu';
import 'v-contextmenu/dist/themes/default.css';

const app = createApp(App);
app.config.globalProperties.$utils = Utils;
app.config.globalProperties.$request = httpClient;
app.use(ElementPlus) // element ui
    .use(contextmenu) // contextmenu
    .use(store) // store
    .use(router) // router
    .mount('#app');
